package com.ruoyi.web.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.serializer.BigDecimalToPlainStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 */
@Data
public class UserEmpowerConfigVO {

    /**
     * 级别
     */
    @Excel(name = "级别")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long level;

    /**
     * 奖励
     */
    @Excel(name = "奖励")
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal minReward;

    /**
     * 奖励
     */
    @Excel(name = "奖励")
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal maxReward;

    /**
     * 条件
     */
    @Excel(name = "条件")
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal minCondition;

    /**
     * 条件
     */
    @Excel(name = "条件")
    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal maxCondition;

}
